//
//  MenuOneTableview.swift
//  SwiftTest
//
//  Created by 北京 on 2020/12/9.
//  Copyright © 2020 QiKai. All rights reserved.
//

import UIKit

class MenuOneTableview: MenuBase {

    override init(frame: CGRect) {
        super.init(frame: frame)
        self.creatUI()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func creatUI() {
        let but = UIButton.init()
        but.backgroundColor = .randomColor
        self.commontView.addSubview(but)
        but.snp.makeConstraints { (make) in
            make.center.equalToSuperview()
            make.size.equalTo(CGSize(width: 100, height: 50))
        }
    }
    
    
}
